package com.beiji.mianshiji.common;

public interface RedisConstant {

    String USER_SIGN_IN_REDIS_KEY_PREFIX = "user:signins";

    static String getUserSignInRedisKeyPrefix(int year, Long userId) {
        return String.format("%s:%s:%s", USER_SIGN_IN_REDIS_KEY_PREFIX, year, userId);
    }
}
